package com.woniu.gym.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年04月02日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_gym_coach_info")
public class TGymCoachInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "coach_info_id", type = IdType.AUTO)
    private Integer coachInfoId;

    @TableField("gym_num")
    private String gymNum;

    @TableField("coach_id")
    private Integer coachId;

    /**
     * 1团教 2私教
     */
    @TableField("coach_type")
    private Integer coachType;

    /**
     * 课程类别
     */
    @TableField("coach_adept")
    private String coachAdept;

    @TableField("certification")
    private String certification;

    @TableField("coach_phone")
    private String coachPhone;

    @TableField("join_date")
    private LocalDateTime joinDate;

    @TableField("out_date")
    private LocalDateTime outDate;

    /**
     * 1在职 2离职
     */
    @TableField("coach_state")
    private Integer coachState;

    /**
     * 0 无课 1 有课
     */
    @TableField("work_state")
    private Integer workState;

    @TableField("coach_mark")
    private Double coachMark;
    /**
     * 评价总人数
     */
    @TableField("mark_num")
    private Integer markNum;

}
